package com.example.attendancesystem.Models;

import lombok.Data;

@Data
public class Admin {
    private Integer adminId;        //管理员ID
    private String adminNumber;     //管理员账号
    private String adminPass;       //登录密码
    private String adminQues;       //问题
    private String adminAns;        //答案
    private String operatePass;     //敏感操作密码

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", adminNumber='" + adminNumber + '\'' +
                ", adminPass='" + adminPass + '\'' +
                ", adminQues='" + adminQues + '\'' +
                ", adminAns='" + adminAns + '\'' +
                ", operatePass='" + operatePass + '\'' +
                '}';
    }

    public Admin() {
    }

    public Admin(Integer adminId, String adminNumber, String adminPass, String adminQues, String adminAns, String operatePass) {
        this.adminId = adminId;
        this.adminNumber = adminNumber;
        this.adminPass = adminPass;
        this.adminQues = adminQues;
        this.adminAns = adminAns;
        this.operatePass = operatePass;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminNumber() {
        return adminNumber;
    }

    public void setAdminNumber(String adminNumber) {
        this.adminNumber = adminNumber;
    }

    public String getAdminPass() {
        return adminPass;
    }

    public void setAdminPass(String adminPass) {
        this.adminPass = adminPass;
    }

    public String getAdminQues() {
        return adminQues;
    }

    public void setAdminQues(String adminQues) {
        this.adminQues = adminQues;
    }

    public String getAdminAns() {
        return adminAns;
    }

    public void setAdminAns(String adminAns) {
        this.adminAns = adminAns;
    }

    public String getOperatePass() {
        return operatePass;
    }

    public void setOperatePass(String operatePass) {
        this.operatePass = operatePass;
    }
}
